From 6b8cf8d6c89d91adc69184ed8accdbfe850a1f68 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 14 Nov 2000 05:43:37 +0000 Subject: [PATCH] (Fpos_visible_in_window_p): Call pos_visible with extra argument. --- src/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window.c b/src/window.c index 5257c1b0cdb..4c755a3f03e 100644 --- a/src/window.c +++ b/src/window.c @@ -337,7 +337,7 @@ POS defaults to point in WINDOW; WINDOW defaults to the selected window.") char in the window. */ if (!NILP (fully)) { - pos_visible_p (w, posint, &fully_p); + pos_visible_p (w, posint, &fully_p, !NILP (fully)); in_window = fully_p ? Qt : Qnil; } else @@ -350,7 +350,7 @@ POS defaults to point in WINDOW; WINDOW defaults to the selected window.") in_window = Qnil; else { - if (pos_visible_p (w, posint, &fully_p)) + if (pos_visible_p (w, posint, &fully_p, !NILP (fully))) in_window = NILP (fully) || fully_p ? Qt : Qnil; else in_window = Qnil; -- 2.30.2